﻿ <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />


<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->

    <link href="static/h-ui/css/H-ui.min.css" rel="stylesheet" />
    <link href="static/h-ui.admin/css/H-ui.admin.css" rel="stylesheet" />
    <link href="lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" />
    <link href="static/h-ui.admin/skin/default/skin.css" rel="stylesheet" id="skin" />
    <link href="static/h-ui.admin/css/style.css" rel="stylesheet" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>欢迎使用二手房评估系统</title>
</head>
<body>

<!--   顶部黑条-->
<header class="navbar-wrapper">
	<div class="navbar navbar-fixed-top">
		<div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="http://www.h-ui.net/H-ui.admin.shtml">H-ui.admin</a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="http://www.h-ui.net/H-ui.admin.shtml">H-ui</a> 
			<span class="logo navbar-slogan f-l mr-10 hidden-xs">v3.0</span> 
			<a aria-hidden="false"  class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
			<nav class="nav navbar-nav">
				<ul class="cl">
					<li>
                        <a href="Check-in.html" class="dropDown_A"> 登记 </a>
				    </li>
			    </ul>
		    </nav>
			<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
				<ul class="cl">
					<li class="dropDown dropDown_hover">
						<a href="#" id="LoginName" class="dropDown_A"> <i class="Hui-iconfont">&#xe6d5;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a href="javascript:;" onClick="myselfinfo()">个人信息</a></li>
							<li><a href="#" onclick="exit()">切换账户</a></li>
							<li><a href="#" onclick="exit()">退出</a></li>
					    </ul>
				    </li>
					<li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
							<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
							<li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
							<li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
							<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
							<li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
					    </ul>
				    </li>
			    </ul>
		    </nav>
	    </div>
    </div>
</header>
<!--左边菜单-->
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2">
        <dl id="menu-InFo" class="hidden">
        	<dt><i class="Hui-iconfont">&#xe620;</i> 登记信息状态<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
			    </ul>
		    </dd>
	    </dl>
        <dl id="menu-article" class="hidden">
			<dt><i class="Hui-iconfont">&#xe61a;</i> 项目跟踪<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
			    </ul>
		    </dd>
	    </dl>
        <dl id="menu-Users" class="hidden">
			<dt><i class="Hui-iconfont">&#xe62d;</i> 用户系统<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
			    </ul>
		    </dd>
	    </dl> 
        <dl id="menu-Dictionary" class="hidden">
			<dt><i class="Hui-iconfont"></i> 数据字典<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
			    </ul>
		    </dd>
	    </dl>
    </div>
</aside>
<!--当前页面信息-->
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active">
					<span title="我的桌面" data-href="welcome.html">我的桌面</span>
					<em></em>
				</li>
		    </ul>
	    </div>
		<div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
    </div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe scrolling="yes" frameborder="0" src="welcome.html"></iframe>
	    </div>
</div>
</section>
<!--_footer 作为公共模版分离出去-->
    <script src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script src="lib/layer/2.4/layer.js"></script>
    <script src="static/h-ui/js/H-ui.min.js"></script>
    <script src="static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->
    <script src="lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
    <script>
        var MsgFormID = new Array();
        $(function () {
            //获取用户登录ID
            var a = sessionStorage.getItem("Login")
            
            $.ajax({
                type: "get",
                url: "http://localhost:41607/api/Entrance/GetMenuShow",
                async: false,
                cache:false,
                data: {
                    id: a
                },
                success: function (msg) {

                    for (var i = 0; i < msg.length; i++) {

                        $(".menu_dropdown").children("#" + msg[i].MenuFormID + "").removeClass("hidden");
                        MsgFormID.push(msg[i].MenuId);
                    }
                }
            })

            for (var q = 0; q < MsgFormID.length; q++) {
                $.ajax({

                    type: "get",
                    url: "http://localhost:41607/api/Entrance/GetMenuInfoSelectByParentID",
                    data: {
                        id: MsgFormID[q]

                    },
                    success: function (MsgChildren) {

                        for (var j = 0; j < MsgChildren.length; j++) {
                            var MenuContent = "";
                            MenuContent += '<li><a data-href="' + MsgChildren[j].MenuUrl + '" data-title="' + MsgChildren[j].MenuName + '" href="javascript:void(0)">' + MsgChildren[j].MenuName + '</a></li>';
                            $("#" + MsgChildren[j].MenuFormID).children().find("ul").append(MenuContent);

                        }


                    }


                })

            }
        })

        function exit() {
            sessionStorage.removeItem("Login");
            location.href = "Login.html";
        }
    </script>
</body>
</html>
